package cn.stylefeng.guns.modular.gridsystem.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.gridsystem.entity.WpUploadLog;
import cn.stylefeng.guns.modular.gridsystem.model.param.WpUploadLogParam;
import cn.stylefeng.guns.modular.gridsystem.model.result.WpUploadLogResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 倾角上传日志 服务类
 *
 * @author ssy
 * @date 2022/02/16 10:59
 */
public interface WpUploadLogService extends IService<WpUploadLog> {

    /**
     * 分页查询倾角上传日志
     *
     * @author ssy
     * @date 2022/02/16 10:59
     */
    PageResult<WpUploadLogResult> page(WpUploadLogParam wpUploadLogParam);

    /**
     * 查询所有倾角上传日志
     *
     * @author ssy
     * @date 2022/02/16 10:59
     */
    List<WpUploadLog> list(WpUploadLogParam wpUploadLogParam);

    /**
     * 添加倾角上传日志
     *
     * @author ssy
     * @date 2022/02/16 10:59
     */
    void add(WpUploadLogParam wpUploadLogParam);

    /**
     * 删除倾角上传日志
     *
     * @author ssy
     * @date 2022/02/16 10:59
     */
    void delete(WpUploadLogParam wpUploadLogParam);

    /**
     * 编辑倾角上传日志
     *
     * @author ssy
     * @date 2022/02/16 10:59
     */
    void edit(WpUploadLogParam wpUploadLogParam);

    /**
     * 查看详情倾角上传日志
     *
     * @author ssy
     * @date 2022/02/16 10:59
     */
    WpUploadLog detail(WpUploadLogParam wpUploadLogParam);

    WpUploadLog getNewOne(WpUploadLogParam wpUploadLogParam);
}
